package com.iddaa.core.domain;

import javax.persistence.EnumType;
import javax.persistence.Enumerated;

public class Event {

    private String _id;
    private Person player;
    private String min;
    @Enumerated(EnumType.STRING)
    private ActionType action;
    @Enumerated(EnumType.STRING)
    private EventLocation location;

    public String getId() {
        return _id;
    }

    public ActionType getAction() {
        return action;
    }

    public EventLocation getLocation() {
        return location;
    }

    public String getMin() {
        return min;
    }

    public Person getPlayer() {
        return player;
    }

    public void setId(String _id) {
        this._id = _id;
    }

    public void setAction(ActionType action) {
        this.action = action;
    }

    public void setLocation(EventLocation location) {
        this.location = location;
    }

    public void setMin(String min) {
        this.min = min;
    }

    public void setPlayer(Person player) {
        this.player = player;
    }
}
